<?php
namespace App\Models\Trade\Sub;

use App\Models\Model;

class DescTagModel extends Model
{

    const TABLENAME = 'tw_trade_sub_desc_tag';

    private static $field = ['name'];

    /**
     * 查询列表（所有数据）
     *
     * @return \Illuminate\Support\Collection
     */
    public static function selectAll()
    {
        return self::dbTable()->select(self::$field)
            ->orderBy('sort')
            ->get();
    }
}
